package com.mentalhealthplatform.global.rbac.dto.normal;

import lombok.Getter;
import lombok.Setter;

import java.util.Set;

@Setter
@Getter
public class MenuHierarchyDTO {

    private Long id;
    private String identifier;
    private String displayName;
    private boolean status;
    private Set<PermissionDTO> permissions;
    private Set<MenuHierarchyDTO> childMenus;
    private Integer orderNum;
    private boolean visible;
    private String description;
    private String type;

    // 默认构造函数
    public MenuHierarchyDTO() {
    }

    // 带参构造函数
    public MenuHierarchyDTO(Long id,String identifier, String displayName,String type,Integer orderNum,boolean visible, boolean status,String description, Set<PermissionDTO> permissions, Set<MenuHierarchyDTO> childMenus) {
        this.id = id;
        this.displayName = displayName;
        this.identifier = identifier;
        this.status = status;
        this.permissions = permissions;
        this.childMenus = childMenus;
        this.orderNum = orderNum;
        this.visible = visible;
        this.description = description;
        this.type = type;
    }

}
